package nc.ui.levm.heapnumberdoc.event;

import nc.ui.pub.beans.UIRefPane;
import nc.ui.pub.bill.BillCardPanel;
import nc.ui.pub.bill.BillItem;
import nc.ui.pubapp.uif2app.event.IAppEventHandler;
import nc.ui.pubapp.uif2app.event.card.CardBodyBeforeEditEvent;

public class HeapnumberDocBeforeEditHandler implements IAppEventHandler<CardBodyBeforeEditEvent>{


	@Override
	public void handleAppEvent(CardBodyBeforeEditEvent paramE) {
		if("def2".equals(paramE.getKey())){
			BillCardPanel billCardPanel = paramE.getBillCardPanel();
			BillItem bodyItem = billCardPanel.getBodyItem("def2");
			UIRefPane component = (UIRefPane)bodyItem.getComponent();
			component.setMultiSelectedEnabled(true);
//			paramE.setReturnValue(true);
			int row = paramE.getRow();
		}
		paramE.setReturnValue(true);
	}
	

}
